package com.xp.framework.client;

import com.xp.framework.Config;
import com.xp.framework.RpcRequest;
import com.xp.framework.RpcResponse;

/**
 * @author xuecx
 * @Date 2019/4/30 15:02
 */
public abstract class AbstractChildClient {
    // ---------------------- config ----------------------
    protected Config config;

    public void init(Config config) {
        this.config = config;
    }

    // ---------------------- operate ----------------------

    public abstract RpcResponse send(RpcRequest request) throws Exception;
}
